import 'package:equatable/equatable.dart';
import 'package:lucky_orbs/data/models/lottery_ticket.dart';

abstract class SuperLottoEvent extends Equatable {
  const SuperLottoEvent();

  @override
  List<Object> get props => [];
}

// 随机选号事件
class GenerateRandomTicket extends SuperLottoEvent {}

// 开始摇奖事件
class StartDrawing extends SuperLottoEvent {
  final LotteryTicket userTicket;
  const StartDrawing(this.userTicket);

  @override
  List<Object> get props => [userTicket];
}

// 重置事件
class ResetDrawing extends SuperLottoEvent {}